package com.lx.ngsl.exam.quest.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Table;
/**
 * 
 * <p>Class       : com.lx.ngsl.exam.quest.entity.QuestEntity
 * <p>Descdription: 试题实体类
 *</p>
 */
@Entity
@Table(name="db_quest")
public class QuestEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	@Id
	private String id;
	private String tag;
	private String quest;
	private String img;
	private String type;
	private String status;
//	@OneToMany(cascade = CascadeType.ALL,fetch=FetchType.LAZY)
//	@JoinColumn(name="quest_id")
//	private List<ChoiceEntity> choices = new ArrayList<>();
	public QuestEntity() {
		super();
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTag() {
		return tag;
	}
	public void setTag(String tag) {
		this.tag = tag;
	}
	public String getQuest() {
		return quest;
	}
	public void setQuest(String quest) {
		this.quest = quest;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	
	
	
}
